/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.provider;

import java.util.ArrayList;
import java.util.Collection;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.edit.provider.ChangeNotifier;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
import org.eclipse.emf.edit.provider.IChangeNotifier;
import org.eclipse.emf.edit.provider.IDisposable;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.INotifyChangedListener;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;

import vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.util.Android7cuiAdapterFactory;

/**
 * This is the factory that is used to provide the interfaces needed to support Viewers.
 * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
 * The adapters also support Eclipse property sheets.
 * Note that most of the adapters are shared among multiple instances.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public class Android7cuiItemProviderAdapterFactory extends Android7cuiAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
	/**
	 * This keeps track of the root adapter factory that delegates to this adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ComposedAdapterFactory parentAdapterFactory;

	/**
	 * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected IChangeNotifier changeNotifier = new ChangeNotifier();

	/**
	 * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected Collection<Object> supportedTypes = new ArrayList<Object>();

	/**
	 * This constructs an instance.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Android7cuiItemProviderAdapterFactory() {
		supportedTypes.add(IEditingDomainItemProvider.class);
		supportedTypes.add(IStructuredItemContentProvider.class);
		supportedTypes.add(ITreeItemContentProvider.class);
		supportedTypes.add(IItemLabelProvider.class);
		supportedTypes.add(IItemPropertySource.class);
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.AnalogClock} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected AnalogClockItemProvider analogClockItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.AnalogClock}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createAnalogClockAdapter() {
		if (analogClockItemProvider == null) {
			analogClockItemProvider = new AnalogClockItemProvider(this);
		}

		return analogClockItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.AutoCompleteTextView} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected AutoCompleteTextViewItemProvider autoCompleteTextViewItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.AutoCompleteTextView}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createAutoCompleteTextViewAdapter() {
		if (autoCompleteTextViewItemProvider == null) {
			autoCompleteTextViewItemProvider = new AutoCompleteTextViewItemProvider(this);
		}

		return autoCompleteTextViewItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Button} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ButtonItemProvider buttonItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Button}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createButtonAdapter() {
		if (buttonItemProvider == null) {
			buttonItemProvider = new ButtonItemProvider(this);
		}

		return buttonItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Chronometer} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ChronometerItemProvider chronometerItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Chronometer}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createChronometerAdapter() {
		if (chronometerItemProvider == null) {
			chronometerItemProvider = new ChronometerItemProvider(this);
		}

		return chronometerItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.DatePicker} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected DatePickerItemProvider datePickerItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.DatePicker}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createDatePickerAdapter() {
		if (datePickerItemProvider == null) {
			datePickerItemProvider = new DatePickerItemProvider(this);
		}

		return datePickerItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.DigitalClock} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected DigitalClockItemProvider digitalClockItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.DigitalClock}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createDigitalClockAdapter() {
		if (digitalClockItemProvider == null) {
			digitalClockItemProvider = new DigitalClockItemProvider(this);
		}

		return digitalClockItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.EditText} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected EditTextItemProvider editTextItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.EditText}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createEditTextAdapter() {
		if (editTextItemProvider == null) {
			editTextItemProvider = new EditTextItemProvider(this);
		}

		return editTextItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Gallery} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected GalleryItemProvider galleryItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Gallery}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createGalleryAdapter() {
		if (galleryItemProvider == null) {
			galleryItemProvider = new GalleryItemProvider(this);
		}

		return galleryItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ImageButton} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ImageButtonItemProvider imageButtonItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ImageButton}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createImageButtonAdapter() {
		if (imageButtonItemProvider == null) {
			imageButtonItemProvider = new ImageButtonItemProvider(this);
		}

		return imageButtonItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ImageView} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ImageViewItemProvider imageViewItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ImageView}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createImageViewAdapter() {
		if (imageViewItemProvider == null) {
			imageViewItemProvider = new ImageViewItemProvider(this);
		}

		return imageViewItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.MultiAutoCompleteTextView} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected MultiAutoCompleteTextViewItemProvider multiAutoCompleteTextViewItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.MultiAutoCompleteTextView}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createMultiAutoCompleteTextViewAdapter() {
		if (multiAutoCompleteTextViewItemProvider == null) {
			multiAutoCompleteTextViewItemProvider = new MultiAutoCompleteTextViewItemProvider(this);
		}

		return multiAutoCompleteTextViewItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ProgressBar} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ProgressBarItemProvider progressBarItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ProgressBar}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createProgressBarAdapter() {
		if (progressBarItemProvider == null) {
			progressBarItemProvider = new ProgressBarItemProvider(this);
		}

		return progressBarItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.RadioButton} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected RadioButtonItemProvider radioButtonItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.RadioButton}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createRadioButtonAdapter() {
		if (radioButtonItemProvider == null) {
			radioButtonItemProvider = new RadioButtonItemProvider(this);
		}

		return radioButtonItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.RatingBar} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected RatingBarItemProvider ratingBarItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.RatingBar}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createRatingBarAdapter() {
		if (ratingBarItemProvider == null) {
			ratingBarItemProvider = new RatingBarItemProvider(this);
		}

		return ratingBarItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.SeekBar} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SeekBarItemProvider seekBarItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.SeekBar}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createSeekBarAdapter() {
		if (seekBarItemProvider == null) {
			seekBarItemProvider = new SeekBarItemProvider(this);
		}

		return seekBarItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Spinner} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SpinnerItemProvider spinnerItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Spinner}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createSpinnerAdapter() {
		if (spinnerItemProvider == null) {
			spinnerItemProvider = new SpinnerItemProvider(this);
		}

		return spinnerItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.TextView} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected TextViewItemProvider textViewItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.TextView}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createTextViewAdapter() {
		if (textViewItemProvider == null) {
			textViewItemProvider = new TextViewItemProvider(this);
		}

		return textViewItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.TimePicker} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected TimePickerItemProvider timePickerItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.TimePicker}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createTimePickerAdapter() {
		if (timePickerItemProvider == null) {
			timePickerItemProvider = new TimePickerItemProvider(this);
		}

		return timePickerItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ToggleButton} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ToggleButtonItemProvider toggleButtonItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ToggleButton}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createToggleButtonAdapter() {
		if (toggleButtonItemProvider == null) {
			toggleButtonItemProvider = new ToggleButtonItemProvider(this);
		}

		return toggleButtonItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.VideoView} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected VideoViewItemProvider videoViewItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.VideoView}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createVideoViewAdapter() {
		if (videoViewItemProvider == null) {
			videoViewItemProvider = new VideoViewItemProvider(this);
		}

		return videoViewItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ZoomButton} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ZoomButtonItemProvider zoomButtonItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ZoomButton}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createZoomButtonAdapter() {
		if (zoomButtonItemProvider == null) {
			zoomButtonItemProvider = new ZoomButtonItemProvider(this);
		}

		return zoomButtonItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ZoomControl} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ZoomControlItemProvider zoomControlItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ZoomControl}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createZoomControlAdapter() {
		if (zoomControlItemProvider == null) {
			zoomControlItemProvider = new ZoomControlItemProvider(this);
		}

		return zoomControlItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.CheckBox} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected CheckBoxItemProvider checkBoxItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.CheckBox}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createCheckBoxAdapter() {
		if (checkBoxItemProvider == null) {
			checkBoxItemProvider = new CheckBoxItemProvider(this);
		}

		return checkBoxItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Activity} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ActivityItemProvider activityItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Activity}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createActivityAdapter() {
		if (activityItemProvider == null) {
			activityItemProvider = new ActivityItemProvider(this);
		}

		return activityItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.SubMenu} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SubMenuItemProvider subMenuItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.SubMenu}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createSubMenuAdapter() {
		if (subMenuItemProvider == null) {
			subMenuItemProvider = new SubMenuItemProvider(this);
		}

		return subMenuItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.MenuItem} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected MenuItemItemProvider menuItemItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.MenuItem}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createMenuItemAdapter() {
		if (menuItemItemProvider == null) {
			menuItemItemProvider = new MenuItemItemProvider(this);
		}

		return menuItemItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ContextMenu} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ContextMenuItemProvider contextMenuItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ContextMenu}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createContextMenuAdapter() {
		if (contextMenuItemProvider == null) {
			contextMenuItemProvider = new ContextMenuItemProvider(this);
		}

		return contextMenuItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Menu} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected MenuItemProvider menuItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Menu}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createMenuAdapter() {
		if (menuItemProvider == null) {
			menuItemProvider = new MenuItemProvider(this);
		}

		return menuItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Layout} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected LayoutItemProvider layoutItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.Layout}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createLayoutAdapter() {
		if (layoutItemProvider == null) {
			layoutItemProvider = new LayoutItemProvider(this);
		}

		return layoutItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ViewGroup} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ViewGroupItemProvider viewGroupItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ViewGroup}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createViewGroupAdapter() {
		if (viewGroupItemProvider == null) {
			viewGroupItemProvider = new ViewGroupItemProvider(this);
		}

		return viewGroupItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.PresentationSystem} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PresentationSystemItemProvider presentationSystemItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.PresentationSystem}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createPresentationSystemAdapter() {
		if (presentationSystemItemProvider == null) {
			presentationSystemItemProvider = new PresentationSystemItemProvider(this);
		}

		return presentationSystemItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ListView} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ListViewItemProvider listViewItemProvider;

	/**
	 * This creates an adapter for a {@link vn.edu.hcmus.fit.se.mdd.mbuid.android7cui.ListView}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createListViewAdapter() {
		if (listViewItemProvider == null) {
			listViewItemProvider = new ListViewItemProvider(this);
		}

		return listViewItemProvider;
	}

	/**
	 * This returns the root adapter factory that contains this factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ComposeableAdapterFactory getRootAdapterFactory() {
		return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
	}

	/**
	 * This sets the composed adapter factory that contains this factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
		this.parentAdapterFactory = parentAdapterFactory;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public boolean isFactoryForType(Object type) {
		return supportedTypes.contains(type) || super.isFactoryForType(type);
	}

	/**
	 * This implementation substitutes the factory itself as the key for the adapter.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter adapt(Notifier notifier, Object type) {
		return super.adapt(notifier, this);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object adapt(Object object, Object type) {
		if (isFactoryForType(type)) {
			Object adapter = super.adapt(object, type);
			if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) {
				return adapter;
			}
		}

		return null;
	}

	/**
	 * This adds a listener.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void addListener(INotifyChangedListener notifyChangedListener) {
		changeNotifier.addListener(notifyChangedListener);
	}

	/**
	 * This removes a listener.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void removeListener(INotifyChangedListener notifyChangedListener) {
		changeNotifier.removeListener(notifyChangedListener);
	}

	/**
	 * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void fireNotifyChanged(Notification notification) {
		changeNotifier.fireNotifyChanged(notification);

		if (parentAdapterFactory != null) {
			parentAdapterFactory.fireNotifyChanged(notification);
		}
	}

	/**
	 * This disposes all of the item providers created by this factory. 
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void dispose() {
		if (analogClockItemProvider != null) analogClockItemProvider.dispose();
		if (autoCompleteTextViewItemProvider != null) autoCompleteTextViewItemProvider.dispose();
		if (buttonItemProvider != null) buttonItemProvider.dispose();
		if (chronometerItemProvider != null) chronometerItemProvider.dispose();
		if (datePickerItemProvider != null) datePickerItemProvider.dispose();
		if (digitalClockItemProvider != null) digitalClockItemProvider.dispose();
		if (editTextItemProvider != null) editTextItemProvider.dispose();
		if (galleryItemProvider != null) galleryItemProvider.dispose();
		if (imageButtonItemProvider != null) imageButtonItemProvider.dispose();
		if (imageViewItemProvider != null) imageViewItemProvider.dispose();
		if (multiAutoCompleteTextViewItemProvider != null) multiAutoCompleteTextViewItemProvider.dispose();
		if (progressBarItemProvider != null) progressBarItemProvider.dispose();
		if (radioButtonItemProvider != null) radioButtonItemProvider.dispose();
		if (ratingBarItemProvider != null) ratingBarItemProvider.dispose();
		if (seekBarItemProvider != null) seekBarItemProvider.dispose();
		if (spinnerItemProvider != null) spinnerItemProvider.dispose();
		if (textViewItemProvider != null) textViewItemProvider.dispose();
		if (timePickerItemProvider != null) timePickerItemProvider.dispose();
		if (toggleButtonItemProvider != null) toggleButtonItemProvider.dispose();
		if (videoViewItemProvider != null) videoViewItemProvider.dispose();
		if (zoomButtonItemProvider != null) zoomButtonItemProvider.dispose();
		if (zoomControlItemProvider != null) zoomControlItemProvider.dispose();
		if (checkBoxItemProvider != null) checkBoxItemProvider.dispose();
		if (activityItemProvider != null) activityItemProvider.dispose();
		if (subMenuItemProvider != null) subMenuItemProvider.dispose();
		if (menuItemItemProvider != null) menuItemItemProvider.dispose();
		if (contextMenuItemProvider != null) contextMenuItemProvider.dispose();
		if (menuItemProvider != null) menuItemProvider.dispose();
		if (layoutItemProvider != null) layoutItemProvider.dispose();
		if (viewGroupItemProvider != null) viewGroupItemProvider.dispose();
		if (presentationSystemItemProvider != null) presentationSystemItemProvider.dispose();
		if (listViewItemProvider != null) listViewItemProvider.dispose();
	}

}
